package com.qidian.buy.common.pojo;

import java.util.List;

/**
 * @author 戴着假发的程序员
 * @company 起点编程
 * @date 2024/7/12 11:23
 */
public class BuyPager<T> {
    private int pageNum;
    private int limit;
    private int total;
    private List<T> data;

    public BuyPager(int pageNum, int limit, int total, List<T> data) {
        this.pageNum = pageNum;
        this.limit = limit;
        this.total = total;
        this.data = data;
    }

    public BuyPager() {
    }

    public int getPageNum() {
        return pageNum;
    }

    public void setPageNum(int pageNum) {
        this.pageNum = pageNum;
    }

    public int getLimit() {
        return limit;
    }

    public void setLimit(int limit) {
        this.limit = limit;
    }

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    public List<T> getData() {
        return data;
    }

    public void setData(List<T> data) {
        this.data = data;
    }
}
